package com.zjitc.book.service;

import com.zjitc.book.entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookService {

    public List<Book> getBooks();
    public Book getBooksById(Integer id);
    int deleteBookById(Integer id);
    int updateBookById(Integer id,Book book);
    int insertBook(Book book);
    public List<Book> searchBooksByCondition(Book book);

}
